import { getCrudApi } from '@/utils/http/crud.ts'

export interface PriceDto {
  sizeId: string
  price: number
  visible?: boolean
}

export interface ProcessTemplateDto {
  id?: string
  name: string | null
  description: string | null
  prices: PriceDto[]
}

export default {
  ...getCrudApi<ProcessTemplateDto>('process-template'),
}
